﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
  
namespace Solidi
{
	public class DependencyChild
	{
		private IDependency _dependency;
		private IDependencyReference _reference;

		public DependencyChild(IDependency dependency, IDependencyReference reference)
		{
			_dependency = dependency;
			_reference = reference;
		}

		public void Release()
		{
			_dependency.Release(_reference);
		}
	}
}
